package com.ruoyi.db.pms.domain.query;

import com.ruoyi.framework.web.domain.BaseQueryVo;

import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * 商品评论查询对象 pms_comment
 *
 * @author ruoyi
 * @date 2020-04-20
 */
@ApiModel("商品评论查询信息封装类")
@Data
@EqualsAndHashCode(callSuper=true)
public class PmsCommentQueryVo extends BaseQueryVo
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("评论对象")
    private Long valueId;

    @ApiModelProperty("评论类型（0是商品评论 1是专题评论）")
    private Integer type;

    @ApiModelProperty("评论内容")
    private String content;

    @ApiModelProperty("管理员回复内容")
    private String adminContent;

    @ApiModelProperty("用户表的用户ID")
    private Long userId;

    @ApiModelProperty("是否含有图片")
    private Boolean hasPicture;

    @ApiModelProperty("图片地址列表，采用JSON数组格式")
    private String picUrls;

    @ApiModelProperty("评分， 1-5")
    private Integer star;

    @ApiModelProperty("创建时间")
    private Date addTime;

    @ApiModelProperty("逻辑删除")
    private Integer deleted;

}
